package com.dao.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Transient;

import com.dao.entity.base.BaseEntity;
import com.utils.enums.ENUM_SUCESS;

@SuppressWarnings("serial")
@Entity(name="loan_shopsApply")
public class ShopsApply extends BaseEntity{
	
	@Transient
	private int sex;
	
	private Long customerId;
	
	private String phone;
	
	private String userName;
	
	private String idCard;
	
	private Integer isComplete;
	
	private Long commisId;
	
	/**
	 * 工作证明文件
	 */
	@Column(length = 512)
	private String workFile;
	
	/**
	 * 工资证明文件
	 */
	@Column(length = 512)
	private String payFile;
	
	public ShopsApply() {
		this.isComplete = ENUM_SUCESS.NO.value;
	}
	
	public Integer getIsComplete() {
		return isComplete;
	}

	public void setIsComplete(Integer isComplete) {
		this.isComplete = isComplete;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public Long getCommisId() {
		return commisId;
	}

	public void setCommisId(Long commisId) {
		this.commisId = commisId;
	}

	public String getWorkFile() {
		return workFile;
	}

	public void setWorkFile(String workFile) {
		this.workFile = workFile;
	}

	public String getPayFile() {
		return payFile;
	}

	public void setPayFile(String payFile) {
		this.payFile = payFile;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public Long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}
	
}
